<?php
namespace home;
class User extends Home{
    public function index(){
        $this->assign('name','德德玛');
        $arrs = ['first'=>'一','second'=>'二','third'=>'三'];
        $this->assign($arrs);
        $this->assign('arrs',$arrs);
        $this->assign('flag',2);
        $this->display('user/index');
    }
}